/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package findthebomb;

/**
 *
 * @author Islam Hamdi
 */
public class Grid {
	private char[][] map;

	public Grid(int dimensions) {
		map = new char[dimensions][dimensions];
	}
        public void setMap(int row,int col,char element){
             map[row][col]=element;
        }
	public void getElement(int row,int col){
            System.out.print(map[row][col]);
        }
}
